package com.xjrsoft.module.customerTwo.barin.t_enterprise_archives_info.service;

import com.xjrsoft.module.customerTwo.barin.t_enterprise_archives_info.entity.TEnterpriseArchivesInfo;
import com.xjrsoft.module.customerTwo.barin.t_enterprise_archives_info.entity.TEnterpriseArchivesAnnualReport;
import com.xjrsoft.module.customerTwo.barin.t_enterprise_archives_info.entity.TEnterpriseArchivesProduct;
import com.xjrsoft.module.customerTwo.barin.t_enterprise_archives_info.dto.TEnterpriseArchivesInfoListDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xjrsoft.common.page.PageOutput;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *  服务类
 *
 * @author dongxinhang
 * @since 2025-05-28
 */
public interface ITEnterpriseArchivesInfoService extends IService<TEnterpriseArchivesInfo> {
	/**
	 * 自定义分页
	 *
	 * @param pageListDto
	 * @return
	 */
	IPage<TEnterpriseArchivesInfo> getPageList(TEnterpriseArchivesInfoListDto pageListDto);

	List<TEnterpriseArchivesAnnualReport> getTEnterpriseArchivesAnnualReportByParentId(String parentId);

	List<TEnterpriseArchivesProduct> getTEnterpriseArchivesProductByParentId(String parentId);
	String addTEnterpriseArchivesInfo(TEnterpriseArchivesInfo tEnterpriseArchivesInfo, List<TEnterpriseArchivesAnnualReport> tEnterpriseArchivesAnnualReportList, List<TEnterpriseArchivesProduct> tEnterpriseArchivesProductList);

	boolean updateTEnterpriseArchivesInfo(String id, TEnterpriseArchivesInfo tEnterpriseArchivesInfo, List<TEnterpriseArchivesAnnualReport> tEnterpriseArchivesAnnualReportList, List<TEnterpriseArchivesProduct> tEnterpriseArchivesProductList);

	boolean delete(String ids);
}
